// JavaScript Document

function browserSupport(){
	try {
		document.createElement("canvas").getContext("2d");
		document.getElementById("support").innerHTML = "HTML5 Canvas is supported in your browser.";
		alert("Your browser is not support.");
	} catch (e) {
		document.getElementById("support").innerHTML = "HTML5 Canvas is not supported in your browser.";
		alert('Error');
	}
}

function startInit()
{
	window.onload = function()
	{
		browserSupport();
	}
}
